package com.lidong.zc.databasemodel.entity.database;

import java.util.List;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/10/2022 10:43 AM
 */
public class DataBaseIndex {

    /**
     * 索引相关字段
     */
    private List<DataBaseColumn> columns;

    /**
     * 外键名称
     */
    private String name;

    public List<DataBaseColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<DataBaseColumn> columns) {
        this.columns = columns;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "DataBaseIndex{" +
                "columns=" + columns +
                ", name='" + name + '\'' +
                '}';
    }
}
